Scripting > Installing 64-bit CygNet API Libraries

Installing 64-bit CygNet API Libraries

CygNet Software supports a 32-bit version and a 64-bit version of each automation library.

To Install 64-bit API Libraries

  1. Copy and paste the Cx...64.dll files from the CD_Image\Support64 directory to your client machine. A good file location is \CygNet\Support64 for easy administration, patching, and reference.
  1. Install the CygVS2010Redist64.exe, CygVS2012Redist64.exe, or CygVS2013Redist64.exe found in the CD_Image\System64 directory to install the C++ libraries upon which the Cx....64.dll files rely.

Note: You can check whether the Redistributable program is already installed by opening the Control Panel/Programs/Programs and Features and looking for entries that say "Microsoft Visual C++ YYYY Redistributable (x64)" where YYYY is the year. The Redistributable program must be installed prior to registering the 64-bit CygNet API libraries.

  1. Manually register each Cx...64.dll file using either:

Make sure the user account you are using to register has full access to the registry and the file system to avoid registration errors. A common registration error is: 0x8007005, which means you do not possess the appropriate permissions to register the file. If you get an error and want to understand what the error means you can use the following steps:

Converting Win32 Error Codes to "Human-Readable" Format

  1. Copy the last four hex digits from the error code, for example, copy "0005" from 0x80070005.
  2. Convert the hex digits to decimal. You can use Windows Calculator (Calc.exe) located in the Windows\System32 folder in "Programmer" mode to accomplish this.
  3. Using a command prompt, type net helpmsg <decimal result from step 2> and then press Enter.
  4. The string produced will be the simplified description for the hex Win32 Error Code.

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.